From 7661fe56b9a50fe1009ee4c7dc1eaac2dbf67912 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 11 May 2004 15:46:13 +0000 Subject: [PATCH] Fix bogus initializion in str_utf8_to_ascii --- gpsbabel/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/util.c b/gpsbabel/util.c index 0d3505c9f..25ffad8ca 100644 --- a/gpsbabel/util.c +++ b/gpsbabel/util.c @@ -772,7 +772,7 @@ char * str_utf8_to_ascii( const char * str ) if ( *cur & 0x80 ) { int bytes; int value; - char *strvalue = ""; + char *strvalue = NULL; utf8_to_int( cur, &bytes, &value ); switch (value) { case 0x2026: strvalue = "..."; break; -- 2.30.2